package org.yray.sip.factory;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class TtsPropConf {
    private int volume;
    private float speed;
    private String speaker;
    public TtsPropConf(String prop)
    {
       String[] params= prop.split("_");
       this.volume=4;
       this.speaker=String.valueOf(params[0]);
       this.speed=Float.valueOf(params[1]);
    }


}
